all: main

main: main.cpp public.cpp
	g++ -fPIC -shared -o libpublic.so public.cpp
	g++ -o main main.cpp -L/home/mini/code/linux_hjh/library/dynamic -lpublic

clean:
	rm -f libpublic.so main

